#region

using Vin.Extension.Framework.Dto;
using Vin.Extension.Framework.Monitor.Entities;

#endregion

namespace Vin.Extension.Framework.Monitor.Dto.Entities;

public record SysLoginLogDto : VinBaseEntityDto
{
    /// <summary>
    /// 登录账号
    /// </summary>
    public string? Account { get; set; }

    /// <summary>
    /// 登录用户
    /// </summary>
    public string? UserName { get; set; }

    /// <summary>
    /// 登录状态 1.成功 2.失败
    /// </summary>
    public LoginStatus? Status { get; set; }

    /// <summary>
    /// 登录IP
    /// </summary>
    public string? Ip { get; set; }

    /// <summary>
    /// 登录地址
    /// </summary>
    public string? Location { get; set; }

    /// <summary>
    /// 登录浏览器
    /// </summary>
    public string? Browser { get; set; }

    /// <summary>
    /// 登录操作系统
    /// </summary>
    public string? Os { get; set; }

    // /// <summary>
    // /// 登录代理
    // /// </summary>
    // public string? UserAgent { get; set; }

    /// <summary>
    /// 提示消息
    /// </summary>
    public string? Msg { get; set; }
}